/*
package com.wxming.quartzdemo;

import com.wxming.quartzdemo.santongyissosdk.InterfaceInit;
import com.wxming.quartzdemo.santongyissosdk.LogOff;
import com.wxming.quartzdemo.santongyissosdk.PassportFilter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


*/
/**
 * 网站项目的启动类。跟ServletInitializer类配合使用。
 * @author wxming.
 * @date 2018/4/20.
 *//*

@SuppressWarnings("SpringFacetCodeInspection")
@EnableScheduling
@EnableAspectJAutoProxy
@SpringBootApplication
@EnableTransactionManagement
public class RmftRasApplication {

    public static void main(String[] args) {
        SpringApplication.run(RmftRasApplication.class, args);
    }

    */
/**
     *三统一三个类中一个实现Filter，两个继承HttpServlet。
     *//*

    @Bean
    public FilterRegistrationBean passportFilter(){
        //PassportFilter()是三统一的类。
        FilterRegistrationBean bean = new FilterRegistrationBean(new PassportFilter());
        bean.addUrlPatterns("/*");
        bean.setName("passport filter");
        bean.setOrder(1);
        return bean;
    }

    @Bean
    public ServletRegistrationBean logOffServlet(){
        ServletRegistrationBean bean = new ServletRegistrationBean(new LogOff());
        bean.setName("LogOff");
        bean.addUrlMappings("/logoff");
        return bean;
    }

    @Bean
    public ServletRegistrationBean interfaceInitServlet(){
        ServletRegistrationBean bean = new ServletRegistrationBean(new InterfaceInit());
        bean.setName("interface init");
        bean.addUrlMappings("/InterfaceInit");
        return bean;
    }
}
*/
